package IOtest;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

public class test4 {
    public static void main(String[] args){
        try {
            FileReader reader = new FileReader("C:\\Users\\W\\Desktop\\JavaCode0ofIDEA\\IOtest\\file\\test03.txt");{
                int c;
                while ((c = reader.read()) != -1) {
                    System.out.println((char) c);
                }
            }
        }catch (Exception e){
                e.printStackTrace();
            }
    }
}
